// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import Vuex from "vuex"
Vue.use(Vuex);

var store = new Vuex.Store({
	state:{
      totalcount:1,
      activeusr:0,
	},
	mutations:{
      updatecount(state,arg){
        state.totalcount = arg
      }
	}
});

Vue.config.productionTip = false
// 导入 MUI 的样式
import '../static/mui/css/mui.min.css'
// 导入扩展图标样式
import '../static/mui/css/icons-extra.css'
import '../src/assets/css/base.css'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router:router,
  components: { App },
  template: '<App/>',
  store:store
})
